package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.Banner;
import com.xiaomei.manager.web.page.Page;

public interface BannerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Banner record);

    int insertSelective(Banner record);

    Banner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Banner record);

    int updateByPrimaryKey(Banner record);
    
    List<Banner> selectByParamMap (Page<Banner> page);
    
    Integer selectMaxId();
}